﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Runtime.Serialization;

namespace BankService.CallbackInterface {

    [DataContract]
    public class Transfer {

        private double amount;
        private string message;

        public Transfer() { }

        public Transfer(double amount, string message) {
            this.amount = amount;
            this.message = message;
        }

        [DataMember]
        public double Amount {
            get { return this.amount; }
            set { this.amount = value; }
        }

        [DataMember]
        public string Message {
            get { return this.message; }
            set { this.message = value; }
        }
    }
}
